import time
import datetime
from function.article_send import ArticleSend
import asyncio

while True:
    time.sleep(60)
    now = datetime.now()
    if now.weekday() == 5 or now.weekday() == 6:
        continue
    if now.hour == 9 and now.minute == 20:
        articlesend = ArticleSend()
        asyncio.run(articlesend.run())
